//
//  MBPlayShowController.m
//  MiBaoTu
//
//  Created by 彭鹏 on 16/9/22.
//  Copyright © 2016年 com.caesartech15. All rights reserved.
//

#import "MBPlayShowController.h"

@interface MBPlayShowController ()

@end

@implementation MBPlayShowController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"如何玩转亲子秀场";
    UIWebView*webView=[[UIWebView alloc]initWithFrame:self.view.bounds];
   // webView.width = webView.width-10;
    NSString * htmlPath;
    [self.view addSubview:webView];
    
    htmlPath = [[NSBundle mainBundle] pathForResource:@"如何玩转亲子秀"
                                               ofType:@"html"];
    NSString * htmlCont = [NSString stringWithContentsOfFile:htmlPath
                                                    encoding:NSUTF8StringEncoding
                                                       error:nil];
    [webView loadHTMLString:htmlCont baseURL:nil];

    [self setupNavBar];
}

- (void)setupNavBar {
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[[UIImage imageNamed:@"fanhui"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]style:UIBarButtonItemStylePlain target:self action:@selector(navigationBackButton)];
    
  }

-(void)navigationBackButton {
    [self.navigationController popViewControllerAnimated:YES];
}



@end
